import React from 'react';
import dynamic from 'dva/dynamic';
import { Route } from 'dva/router';

export default function footPrintRoute(app) {


    const footPrint = dynamic({
        app,
        models: () => {
            return [
                import(/* webpackChunkName: "footPrintModel" */'../models/footPrint/footPrintModel'),
            ];
        },
        component:()=>import(/* webpackChunkName: "footPrint" */'../routes/footPrint/footPrint'),
    });
    return (
        [
            <Route key="footPrint" exact path="/footPrint" component={footPrint}/>,
        ]
    );
}